
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import {request} from './api/request/request.js';
import uView from 'vk-uview-ui'

// 初始化配置
uni.$u.config.unit = 'rpx' // 单位配置
vue prototype.$request = request;

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.use(uView)
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
// import uView from "vk-uview-ui";	
// Vue.use(uView);
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// App({
// 	globalData: {
// 		token: ''
// 	}
// })
// #endif